package com.sdh.onlinemarket.service.impl;

import com.sdh.onlinemarket.entity.Item;
import com.sdh.onlinemarket.mapper.ItemMapper;
import com.sdh.onlinemarket.service.ItemService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 施德昊
 * @since 2021-11-21
 */
@Service
public class ItemServiceImpl extends ServiceImpl<ItemMapper, Item> implements ItemService {
    @Autowired
    ItemMapper itemMapper;

    @Override
    public List<Item> selectDisSub(String classic) {
        return itemMapper.selectDisSub(classic);
    }

    @Override
    public List<Item> selectBigType() {
        return itemMapper.selectBigType();
    }
}
